Package com.cisco.pt.ipc.ui.impl
Class DeviceDialogImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.DeviceDialogImpl
- All Implemented Interfaces:
IPCObject,DeviceDialog
Information provided by the PKI file:
\class DeviceDialog
\brief DeviceDialog are the collection of dialogs used to edit the devices.
\remark To manipulate the device configuration, use the Device object.
\example appWindow().getDialogManager().getDialog("Router0")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionDeviceDialogImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCustomDesktopApp(String name, String description, String iconPath, String customInterface) Information provided by the PKI file:voiddisableCLIImportExport(boolean bDisable) Information provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetDisabled(boolean bDisabled) Information provided by the PKI file:booleansetTabVisible(String tabName, boolean visible) Information provided by the PKI file:voidsetVisible(boolean bVisible) Information provided by the PKI file:voidsetWidgetDisable(String name, boolean bDisabled) Information provided by the PKI file:voidsetWidgetVisible(String name, boolean bVisible) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
DeviceDialogImpl
public DeviceDialogImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setVisible
public void setVisible(boolean bVisible) Information provided by the PKI file:
\brief Shows or hides this device dialog widget from view. \param bVisible, true to show this device dialog, false to hide it.- Specified by:
setVisiblein interfaceDeviceDialog- Parameters:
bVisible- Takes in a parameter of bVisible
-
setWidgetVisible
Information provided by the PKI file:
\brief Shows or hides the specified child widget. \param name where name can be one of the following: IPConfigBtn, IPConfigLbl, DialupBtn, DialupLbl, TerminalBtn, TerminalLbl, CommandPromptBtn, CommandPromptLbl, WebBrowserBtn, WebBrowserLbl, PCWirelessBtn, PCWirelessLbl, VPNBtn, VPNLbl, TrafficGeneratorBtn, TrafficGeneratorLbl, MIBBroswerBtn, MIBBrowserLbl, IPCommunicatorBtn, IPCommunicatorLbl, EmailBtn, EmailLbl, PPPoEDialerBtn, PPPoEDialerLbl, TextEditorBtn, TextEditorLbl, FirewallBtn, FirewallLbl, IPv6FirewallBtn, IPv6FirewallLbl, AAAAccountingBtn, AAAAccountingLbl, NetflowCollectorBtn, NetflowCollectorLbl, IoXSdkBtn, IoXSdkLbl, TftpLbl, TftpBtn, SshClientBtn, SshClientLbl, BluetoothBtn, BluetoothLbl, IoT Monitor_btn, IoT Monitor_lbl, IoT IDE_btn, IoT IDE_lbl, User Apps Manager_btn, User Apps Manager_lbl \param bVisible, true to show the child widget, false to hide it.- Specified by:
setWidgetVisiblein interfaceDeviceDialog- Parameters:
name- Takes in a parameter of namebVisible- Takes in a parameter of bVisible
-
setDisabled
public void setDisabled(boolean bDisabled) Information provided by the PKI file:
\brief Enables or disables input events to this device dialog widget. \param bDisabled, true to disable this device dialog, false to enable it.- Specified by:
setDisabledin interfaceDeviceDialog- Parameters:
bDisabled- Takes in a parameter of bDisabled
-
setWidgetDisable
Information provided by the PKI file:
\brief Enables or disables the specified child widget. \param name where name can be one of the following: IPConfigBtn, IPConfigLbl, DialupBtn, DialupLbl, TerminalBtn, TerminalLbl, CommandPromptBtn, CommandPromptLbl, WebBrowserBtn, WebBrowserLbl, PCWirelessBtn, PCWirelessLbl, VPNBtn, VPNLbl, TrafficGeneratorBtn, TrafficGeneratorLbl, MIBBroswerBtn, MIBBrowserLbl, IPCommunicatorBtn, IPCommunicatorLbl, EmailBtn, EmailLbl, PPPoEDialerBtn, PPPoEDialerLbl, TextEditorBtn, TextEditorLbl, FirewallBtn, FirewallLbl, IPv6FirewallBtn, IPv6FirewallLbl, AAAAccountingBtn, AAAAccountingLbl, NetflowCollectorBtn, NetflowCollectorLbl, IoXSdkBtn, IoXSdkLbl, TftpLbl, TftpBtn, SshClientBtn, SshClientLbl, BluetoothBtn, BluetoothLbl, IoT Monitor_btn, IoT Monitor_lbl, IoT IDE_btn, IoT IDE_lbl, User Apps Manager_btn, User Apps Manager_lbl \param bDisabled, true to disable the child widget, false to enable it.- Specified by:
setWidgetDisablein interfaceDeviceDialog- Parameters:
name- Takes in a parameter of namebDisabled- Takes in a parameter of bDisabled
-
disableCLIImportExport
public void disableCLIImportExport(boolean bDisable) Information provided by the PKI file:
\brief Enable or disable copying and pasting from the CLI. \param bDisable, true to disable copying and pasting from the CLI, false to enable it.- Specified by:
disableCLIImportExportin interfaceDeviceDialog- Parameters:
bDisable- Takes in a parameter of bDisable
-
reloadCustomHtmlTab
public void reloadCustomHtmlTab()Information provided by the PKI file:
\brief Reload custom html tab- Specified by:
reloadCustomHtmlTabin interfaceDeviceDialog
-
hasDesktop
public boolean hasDesktop()Information provided by the PKI file:
\brief Check if the device dialog has desktop tab \return bool, true if it does and false if it does not- Specified by:
hasDesktopin interfaceDeviceDialog- Returns:
- boolean Returns a boolean
-
setTabVisible
Information provided by the PKI file:
\brief Shows or hides a tab in the device dialog. \param tabName, the name of the tab (case-insensitive) e.g. "physical", "config", "cli", etc. \param visible, true to to show the tab, false to hide it. \return bool, true if the tab was successfully shown or hidden, false otherwise.- Specified by:
setTabVisiblein interfaceDeviceDialog- Parameters:
tabName- Takes in a parameter of tabNamevisible- Takes in a parameter of visible- Returns:
- boolean Returns a boolean
-
addCustomDesktopApp
public boolean addCustomDesktopApp(String name, String description, String iconPath, String customInterface) Information provided by the PKI file:
\brief Add custom desktop app \param name, application name \param description, desktop app description \param iconPath, icon path \param customInterface, custom Interface name- Specified by:
addCustomDesktopAppin interfaceDeviceDialog- Parameters:
name- Takes in a parameter of namedescription- Takes in a parameter of descriptioniconPath- Takes in a parameter of iconPathcustomInterface- Takes in a parameter of customInterface- Returns:
- boolean Returns a boolean
-